package org.eclipse.bpel.model.util;

import org.apache.log4j.Logger;
//import org.eclipse.bpel.model.ExtensibleElement;
import org.eclipse.bpel.model.Activity;

public class DumpAction implements SwitchAction {
	
	private static transient Logger log = Logger.getLogger(AssignAction.class);

	@Override
	public void doPreAction(org.eclipse.wst.wsdl.ExtensibleElement element) {
		if (element instanceof Activity) {
			log.trace("Activity: " + ((Activity)element).getName() + " Type: " + element.getClass());
		} else {
			log.trace(element.getClass());
		}
	}

	@Override
	public void doPostAction(org.eclipse.wst.wsdl.ExtensibleElement element) {
		
	}

}
